package Demo7;

public class test {
    public static void main(String[] args) {
        Cycle cycle = new Cycle();
        Flower flower =new Flower();
        Shape[] shapes ={cycle,cycle,flower,flower};
        for (Shape shape:shapes){
            shape.draw();
        }


    }
}
